package com.martin.dms.model;

import java.util.Set;

/**
 * An item supplier.
 * 
 * @author mtsvetkov
 */
public interface Supplier extends DMSObject {

    /**
     * Gets the name of the supplier.
     * 
     * @return the supplier's name.
     */
    public String getName();

    /**
     * Gets the address of the supplier.
     * 
     * @return the supplier's address.
     */
    public String getAddress();

    /**
     * Gets the e-mail of the supplier.
     * 
     * @return the supplier's e-mail.
     */
    public String getEmail();

    /**
     * Gets the phone number of the supplier.
     * 
     * @return the supplier's phone number.
     */
    public String getPhoneNumber();

    /**
     * Gets the set of items that the supplier can deliver.
     * 
     * @return a set of items.
     */
    public Set<Item> getItems();

    /**
     * History of all deliveries made by this supplier.
     * 
     * @return a set of deliveries.
     */
    public Set<Delivery> getDeliveries();
}
